<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width" />
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>Hello APP</title>
    <link rel="stylesheet" type="text/css" href="../../../css/index.css" />
</head>
<style>
	.warp{width: 100%;}
    #title{font-size: 18px;color: #ffffff;font-weight: bold;}

    .head-warp{background:url(../../../image/main3/main3_bg.png) no-repeat center #FF9502;background-size:100% auto;}
	/*头部信息*/
	.head-box{width: 100%;}
    .tongji{margin:15px 15px 0 15px;background: #ffffff;height: 115px;align-items: center;}
    .tongji .tongji-one{flex-direction: column;justify-content: center;align-items: center;}
    .tongji .tongji-one .num{font-size: 14px;color: #FF9502;font-weight: bold;}
    .tongji .tongji-one .num i{font-size: 24px;}
    .tongji .tongji-one .t{font-size: 14px;color: #333333;padding-top: 6px;}
    .tongji .ge{height: 50px;}
    .tongji .ge::before{background: #FF9502;}
    .bot-cont{height: 48px;line-height: 48px;font-size: 15px;color: #ffffff;padding: 0 15px;box-sizing: border-box;}

	/*跳转类表*/
	.info-list{margin-bottom: 10px;margin: 0 15px;box-sizing: border-box;border-radius: 4px;padding:5px 0 15px 0;flex-wrap: wrap;background: #ffffff;margin-top: -40px;position: relative;}
	.info-list .info-one{width: 33.3%;height: 100px;flex-direction: column;align-items: center;justify-content: center;}
	.info-list .info-one img{width: 32px;height: 32px;}
	.info-list .info-one .text{box-sizing: border-box;font-size: 14px;color: #666666;line-height: 20px;height: 20px;padding-top: 10px;}

    .tixian{margin: 40px 15px;background: #FF9502;border-radius: 30px;height: 44px;text-align: center;line-height: 44px;font-size: 16px;color: #ffffff;}
</style>
<body>
    <div id="vue" class="warp">

    	<!--个人中心头部信息-->
        <div class="head-warp">
            <div id="app-header">
        		<div class="headbar">
        	        <div class="toolbar">
        				<div class="lf tool" tapmode="tapcss" onclick="backMenu(this);"><span class="back b"></span></div>
        				<div class="title han_1"><span id="title">我的钱包</span></div>
        				<div class="rt tool menu" id="menu" tapmode onclick="menuClick(this);"></div>
        	        </div>
        		</div>
            </div>
    		<div class="head-box">
                <div class="tongji flex">
    				<div class="tongji-one flex flex1" tapmode onclick="open_rz(this)" data-title="入帐金额明细" data-url="main3/money/mingxi_rz.html">
    					<div class="num"><i v-text="Pdata.money">0</i>元</div>
    					<div class="t">余额></div>
    				</div>
    				<div class="ge border-right"></div>
    				<div class="tongji-one flex flex1" tapmode onclick="open_rz(this)" data-title="入帐金额明细" data-url="main3/money/mingxi_rz.html">
    					<div class="num"><i v-text="Pdata.today_money">0</i>元</div>
    					<div class="t">今日入帐></div>
    				</div>
    			</div>
                <div class="bot-cont flex">
                    <div class="flex1">历史提现金额：<i v-text="Pdata.alltixian"></i>元</div>
                    <div onclick="open_tx(this)" data-title="提现明细" data-url="main3/money/mingxi_tx.html">查看明细</div>
                </div>
    		</div>
        </div>

        <div class="tixian" tapmode onclick="open_tx(this)" data-title="提现" data-url="main3/bank/tx.html">提现</div>

    </div>
</body>
<script type="text/javascript" src="../../../script/base.min.js" id="loadjs" data-js="L/swiper.min,L/lazyload,L/h-tool"></script>
<script type="text/javascript">

	define(function (require, exports, module) {

        lanYun.indexSetHeader('app-header');

        var stype = pageParam.type;
        var url = {
            "store":{
                "show":'store/Tixian/index',
            },
            "company":{
                "show":'company/Tixian/index',
            },
        }

        _page.getData = function(loading) {
            lanYun.getVueData({url:url[stype].show,get:{page:lanYun.page},cache:0,loading:loading},function(ret) {
                //console.log(JSON.stringify(ret));
            });
        };

        lanYun.newVue('#vue',{},function() {
            _page.getData(2);
        });

		//打开页面
		open_page = function (tis) {
	        var dst = tis.dataset;
	        lanYun.openWin(dst.url, {
	            win:'win',
	           	title:dst.title,
	            frameParam : dst
	       });
	    }

        //打开入账明细
		open_rz = function (tis) {
	        var dst = tis.dataset;
            dst.type = stype;
	        lanYun.openWin(dst.url, {
	            win:'win_jf',
	           	title:dst.title,
	            frameParam : dst
	       });
	    }

        //打开提现
		open_tx = function (tis) {
	        var dst = tis.dataset;
            dst.type = stype;
	        lanYun.openWin(dst.url, {
	            win:'win',
	           	title:dst.title,
	            frameParam : dst
	       });
	    }

        //页面关闭方法
        backMenu = function (tis){
            api.closeWin();
        }

        //页面关闭方法
        menuClick = function (tis){

        }


	});


</script>

</html>
